package me.shiqiang.im.msg;

/**
 * Created by John on 2018/9/4
 */
public class DistributeMsgBody {
    private Long syncKey;
    private Long localId;
    private String msg;
    private Integer mType;
    private Long from;
    private String name;
    private Long to;
    private Integer cType;
    private Long[] at = new Long[0];
    private Long ts;
    private Integer version = 0;
    private String fromName;

    public Long getSyncKey() {
        return syncKey;
    }

    public void setSyncKey(Long syncKey) {
        this.syncKey = syncKey;
    }

    public Long getLocalId() {
        return localId;
    }

    public void setLocalId(Long localId) {
        this.localId = localId;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getmType() {
        return mType;
    }

    public void setmType(Integer mType) {
        this.mType = mType;
    }

    public Long getFrom() {
        return from;
    }

    public void setFrom(Long from) {
        this.from = from;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getTo() {
        return to;
    }

    public void setTo(Long to) {
        this.to = to;
    }

    public Integer getcType() {
        return cType;
    }

    public void setcType(Integer cType) {
        this.cType = cType;
    }

    public Long[] getAt() {
        return at;
    }

    public void setAt(Long[] at) {
        this.at = at;
    }

    public Long getTs() {
        return ts;
    }

    public void setTs(Long ts) {
        this.ts = ts;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    @Override
    public String toString() {
        return "DistributeMsgBody{" +
                "syncKey=" + syncKey +
                ", localId=" + localId +
                ", msg='" + msg + '\'' +
                ", mType=" + mType +
                ", from=" + from +
                ", name='" + name + '\'' +
                ", to=" + to +
                ", cType=" + cType +
                ", at=" + at +
                ", ts=" + ts +
                ", version=" + version +
                ", fromName='" + fromName + '\'' +
                '}';
    }


}
